package com.jier.model;

import io.swagger.annotations.ApiModelProperty;

/**
 * 分页参数对象
 *
 * @author: lijie
 * @description:
 * @date: Created in 11:11 2017/12/19 0019
 */
public class PageParam {
    /**
     * 当前页码, 默认1
     */
    @ApiModelProperty(value = "当前页码", required = true, dataType = "int")
    private Integer curPage = 1;

    /**
     * 每页行数，默认15
     */
    @ApiModelProperty(value = "每页行数", required = true, dataType = "int")
    private Integer pageSize = 15;

    public Integer getCurPage() {
        return curPage;
    }

    public void setCurPage(Integer curPage) {
        this.curPage = curPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
